<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">用户id:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-uid" readonly class="form-control" name="row[uid]" type="number" value="{$row.uid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">用户名:</label>
        <div class="col-xs-12 col-sm-8">
            <p  class="form-control">{$row.user_nickname}</p>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">联系方式:</label>
        <div class="col-xs-12 col-sm-8">
            <p  class="form-control">{$row.user_phone}</p>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">咨询类型:</label>
        <div class="col-xs-12 col-sm-8">
            <p  class="form-control">{if condition='$row.type == 1'}音频 {else/}视频{/if}</p>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">订单状态:</label>
        <div class="col-xs-12 col-sm-8">
            <p  class="form-control">
                {if condition='$row.status == 1'}已支付
                {elseif condition='$row.status == 2' /}已约时间
                {elseif condition='$row.status == 3' /}改约
                {elseif condition='$row.status == 4' /}订单完成
                {elseif condition='$row.status == 0' /}未支付
                {elseif condition='$row.status == 5' /}订单取消
                {elseif condition='$row.status == 9' /}订单退款
                {elseif condition='$row.status == -1' /}订单已删除
                {/if}
            </p>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Appoint_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-appoint_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[appoint_time]" type="text" value="{$row.appoint_time}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">订单支付状态:</label>
        <div class="col-xs-12 col-sm-8">
            <p  class="form-control">
                {if condition='$row.pay_status == 1'}已支付
                {elseif condition='$row.status == 0' /}未支付
                {elseif condition='$row.status == 3' /}退款
                {/if}
            </p>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">支付时间:</label>
        <div class="col-xs-12 col-sm-8">
            <p  class="form-control">
               {$row.pay_time}
            </p>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_sn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <p  class="form-control">
                {$row.order_sn}
            </p>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">支付方式:</label>
        <div class="col-xs-12 col-sm-8">
            <p  class="form-control">
                {if condition='$row.pay_type == "wxpay" '}微信支付
                {elseif condition='$row.pay_type == "alipay"' /}支付宝支付
                {elseif condition='$row.pay_type == 3' /}退款
                {/if}
            </p>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Transaction')}:</label>
        <div class="col-xs-12 col-sm-8">
            <p  class="form-control">
                {$row.transaction}
            </p>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">专家id:</label>
        <div class="col-xs-12 col-sm-8">
            <p  class="form-control">
                {$row.experts_id}
            </p>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">专家名称:</label>
        <div class="col-xs-12 col-sm-8">
            <p  class="form-control">
                {$row.experts_nickname}
            </p>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">专家手机号:</label>
        <div class="col-xs-12 col-sm-8">
            <p  class="form-control">
                {$row.experts_phone}
            </p>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Out_refund_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <p  class="form-control">
                {$row.out_refund_no}
            </p>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">订单追踪记录:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-desc" class="form-control " rows="5" name="row[desc]" cols="50">{$row.desc|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">支付金额:</label>
        <div class="col-xs-12 col-sm-8">
            <p  class="form-control">
                {$row.price}
            </p>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Consult_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <p  class="form-control">
                {$row.consult_type}
            </p>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
